<!-- 2017-05-08  基本信息开始超-->
<link href="{{URL::asset('/public_js/need/laydate.css')}}" rel="stylesheet" />
<link href="{{URL::asset('/public_js/skins/molv/laydate.css')}}" rel="stylesheet" />
<div class="j_Essential" >
    <div class="j_header">
        <span>头像设置</span>
        {{--<span class="j_header_right" id="j_open">收起<img src="{{ URL::asset('/ucenter/images/stop.png') }}" alt=""/></span>--}}
    </div>
    <div class="j_Essential_content" id="j_Essential_content" style="height: 415px;">
        <div class="j_content_left">
            <form id="photo_up" name="photo_up" action="{{url('uploadimg')}}" method="post">
                <span id="j_heade_up">头像上传<img src="{{ URL::asset('/ucenter/images/top.png') }}" alt=""/>
                    <input type="file" name="image" id="j_tx" value="" class="inputFile"/>
                </span>
                <input style="display: none;" name="type" type="text" value="1"/>
            </form>
            <input style="display: none;" name="photo" id="photo" type="text" autocomplete="off" disabled/>
            <p>您可以上JPG、PNG格式的图片，图片大小不能超过2M</p>
            <div class="j_head">
                
                <div id="j_img">
                    @if (session('eai'))
                        <img src="{{session('eai')['photo']}}" alt="" id="photoshow">
                    @else
                        <img src="{{ URL::asset('/ucenter/images/head.png') }}" alt="" id="photoshow"/>
                    @endif
                    
                    
                </div>
            </div>

            <span class="j_confirm">确认</span>
        </div>
        <div class="j_content_right" id="j_content_right">
            <h3>选用默认</h3>
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_1.jpg') }}" alt=""  class="j_content_right_oneimg"/>
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_2.jpg') }}" alt="" />
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_3.jpg') }}" alt="" />
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_4.jpg') }}" alt="" />
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_5.jpg') }}" alt="" class="j_content_right_oneimg j_bottom"/>
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_6.jpg') }}" alt="" class="j_bottom"/>
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_7.jpg') }}" alt="" class="j_bottom"/>
            <img src="{{ URL::asset('/ucenter/images/defaultheadimg/default_8.jpg') }}" alt="" class="j_bottom"/>
        </div>
    </div>
</div>
<!-- 基本信息开始 -->
<div class="j_Essential j_spacing">
    <div class="j_header">
        <span>基本信息</span>
        {{--<span class="j_header_right" id="j_open_two"><span id="kaiqi4">收起</span><img src="{{ URL::asset('/ucenter/images/stop.png') }}" alt="" id="sanjiao4"/></span>--}}
    </div>
    <div class="j_Essential_content" id="j_Essential_content_right">
        <div class="j-newuser active">
            <div class="jj-newuser" style="display: block;">
                <div class="j_user-set">
                    <div id="UserDetail" class="mysettings-packup">
                        <dl class="basic">
                            <dd class="basic-wide">昵称</dd>
                            <dd class="fl">
                                <input class="mysettings-input" name="username" style="width: 278px;border:none;" type="text" id="username"  maxlength="6" placeholder="请输入您的昵称" value="{{$userinfo->username}}" disabled="disabled"><!--disabled=""-->

                            </dd>
                            <dd class="fl ml30 mt10" id="usernametishi">

                            </dd>
                        </dl>
                        <dl class="basic">
                            <dd class="basic-wide">性别</dd>
                            <dd class="fl mt19">
                                <div class="flui_radioGroup" id="radioGender">
                                    <div class="flui_radioBox @if($userinfo->sex != 2)flui_radioBox_ck @endif" value="1"><i class="ui_sprite radio_icon fl" style="margin-top: 4px;"></i><span>男</span></div>
                                    <div class="flui_radioBox ml30 @if($userinfo->sex == 2)flui_radioBox_ck @endif" value="2"><i class="ui_sprite radio_icon fl" style="margin-top: 4px;"></i><span>女</span></div>
                                </div>

                            </dd>

                        </dl>		    
                        <dl class="basic">
                            <dd class="basic-wide">生日</dd>
                            <dd class="fl mt10" style="margin-top: 8px; margin-left: 9px; padding: 2px 10px; background: #fff; border: 1px solid #e1e2e6; border-radius: 8px; color: #333;">
                                <input class="laydate-icon" readonly="readonly" style="cursor: pointer;border: 0px none; height:36px" id="OStartTime" name="OStartTime"   @if($userinfo->birthday) value="{{date('Y-m-d',$userinfo->birthday)}}" @else value="{{date('Y-m-d',time())}}" @endif>
                            </dd>

                        </dl>
                        <dl class="basic">
                            <dd class="basic-wide">所在地</dd>  
                            <div data-toggle="distpicker" class="j_select">
                                <select id="province"  data-province="@if($authinfo){{$authinfo->province}}@endif"></select>
                                <select id="city" data-city="@if($authinfo){{$authinfo->city}}@endif"></select>
                                <select id="country" data-district="@if($authinfo){{$authinfo->country}}@endif"></select>
                            </div>
                        </dl>
                        <dl class="basic">
                            <dd class="basic-wide">经纪商</dd>
                            <dd class="fl">
                                <input class="mysettings-input" style="width: 278px;" type="text" id="server_name"  maxlength="20" placeholder="" value="{{$userinfo->server_name}}"><!--disabled=""-->

                            </dd>
                            <dd class="fl ml30 mt10">

                            </dd>
                        </dl>
                        <dl class="basic">
                            <dd class="basic-wide">常用邮箱</dd>
                            <dd class="fl">
                                <input class="mysettings-input" style="width: 278px;" type="text" id="email"  maxlength="40" placeholder="请输入您的邮箱" value="{{$userinfo->email}}"><!--disabled=""-->

                            </dd>
                            <dd class="fl ml30 mt10 j_email_l">

                            </dd>
                        </dl>
                        <dl class="basic">
                            <dd class="basic-wide">个人简介</dd>
                            <dd class="fl mt10">
                                <textarea id="IntroductionValue" class="basic-messages-box" style="height:100px">{{$userinfo->introduction}}</textarea>
                                <div style="padding-top:10px">
                                    <span id="redIntroductionMsg" class="red" style="display: none;">个人简介文字不能多于100字</span>
                                </div>
                            </dd>
                        </dl>
                        <br style="clear: both">
                        <div class="mysettings-headfl ml100 mt5">
                            <a href="javascript:;">
                                <p id="btnSaveUD" class="userset-but-r" style="margin-top:30px;">确认</p>
                            </a>

                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!-- 基本信息结束 -->
<!-- 2017-05-08 基本信息结束超-->
<script>
    var posturl = "{{ url('/checkname') }}";
</script>
